package com.wyzz.hr.pojo;

import java.util.Iterator;
import java.util.List;

import com.wyzz.hr.pojo.base.BaseStatusconf;

public class Statusconf extends BaseStatusconf {

	public Statusconf() {
	}

	public Statusconf(StatusconfPK id) {
		super(id);
	}

	public static String getEcpStatus(int statusNo, List status) {
		for (Iterator i$ = status.iterator(); i$.hasNext();) {
			Statusconf stconf = (Statusconf) i$.next();
			if (stconf.getId().getStatusconfNo().intValue() == statusNo)
				return stconf.getStatusconfDesc();
		}

		return "";
	}

	private static final long serialVersionUID = 1L;
}
